// AI评估响应的类型定义
export interface AIAssessmentResponse {
  score: number;
  feedback: string;
  keyPoints: string[];
  mistakes: string[];
  suggestions: string[];
}

// AI评估模型的类型定义
export interface AIAssessment {
  id: string;
  submissionId: string;
  score: number;
  feedback: string;
  keyPoints: string[];
  mistakes: string[];
  suggestions: string[];
  createdAt: Date;
  updatedAt: Date;
}

// AI评估历史记录的类型定义
export interface AssessmentHistory {
  id: string;
  submissionId: string;
  oldScore: number;
  newScore: number;
  reason: string;
  changedBy: 'AI_SYSTEM' | 'TEACHER';
  createdAt: Date;
}

// AI批改服务的配置类型
export interface AIAssessmentConfig {
  apiEndpoint: string;
  apiKey: string;
  maxRetries: number;
  timeout: number;
}

// 评估请求的类型定义
export interface AssessmentRequest {
  answer: string;
  question: string;
  referenceAnswer: string;
  scoringCriteria: any; // 可以根据实际的评分标准定义具体类型
}
